﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.ComponentModel;

namespace QuickStart_Project_01.Models
{
    public partial class UMenuItem : ObservableObject
    {
        [ObservableProperty]
        private int id;

        [ObservableProperty]
        private int parentId;

        [ObservableProperty]
        private string name;

        [ObservableProperty]
        private string icon;

        [ObservableProperty]
        private string url;

        [ObservableProperty]
        private ObservableCollection<UMenuItem> menuItems;
    }
}
